home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / win / vb / vbmate.exe / VBMATEGL.BAS < prev   
Encoding:
BASIC Source File  |  1991-10-21  |  2.5 KB  |  90 lines

  1. Global Const true = -1
  2. Global Const false = 0
  3.  
  4. '---------------------------------------------------------
  5. '---------------------------------------------------------
  6. '
  7. '            HLLAPI constants
  8. '
  9. '--------------------------------------------------------
  10. '
  11. ' Standard return codes:
  12. '
  13.  
  14. Global Const Good = 0
  15. Global Const InvalidPS = 1 ' ask for "B" and only "A" available
  16. Global Const ParameterError = 2 ' or maybe an invalid function was called
  17. Global Const WSerror = 3 ' not used in windows
  18. Global Const Busy = 4  ' system in XCLOCK or XSYSTEM
  19. Global Const BusyOther = 5
  20. Global Const DataError = 6 ' invalid parameter (truncated?, conversion?)
  21. Global Const InvalidPSPosition = 7 ' not a valid screen location
  22. Global Const ProcedureError = 8  ' missing prerequisite function ...
  23. Global Const SystemError = 9  ' serious error
  24. Global Const FunctionNotAvailable = 10 ' at least not in this release
  25. Global Const ResourceUnavailable = 11 ' for example: exceeded maximum of 12 sessions
  26.  
  27.  
  28. '---------------------------------------------------------
  29. '
  30. ' Special key definitions used by SendKey and
  31. ' returned by GetKey
  32. '
  33.  
  34. Global Const ALT = "@A"
  35. Global Const BackTab = "@B"
  36. Global Const ClearScreen = "@C"
  37. Global Const DelChar = "@D"
  38. Global Const Enter = "@E"
  39. Global Const EraseEOF = "@F"
  40. Global Const Help = "@H"
  41. Global Const Insert = "@I"
  42. Global Const Jump = "@J"
  43. Global Const Copy = "@K"
  44. Global Const CursorLeft = "@L"
  45. Global Const Enlarge = "@M"
  46. Global Const NewLine = "@N"
  47. Global Const PrintScreen = "@P"
  48. Global Const Quit = "@Q"
  49. Global Const ResetKeyBoard = "@R"
  50. Global Const Shift = "@S"
  51. Global Const ForwardTab = "@T"
  52. Global Const CursorUp = "@U"
  53. Global Const CursorDown = "@V"
  54. Global Const Reserved = "@X"
  55. Global Const CapsLock = "@Y"
  56. Global Const CursorRight = "@Z"
  57. Global Const BackSpace = "@<"
  58. Global Const Home = "@0"
  59. Global Const PF1 = "@1"
  60. Global Const PF2 = "@2"
  61. Global Const PF3 = "@3"
  62. Global Const PF4 = "@4"
  63. Global Const PF5 = "@5"
  64. Global Const PF6 = "@6"
  65. Global Const PF7 = "@7"
  66. Global Const PF8 = "@8"
  67. Global Const PF9 = "@9"
  68. Global Const PF10 = "@a"
  69. Global Const PF11 = "@b"
  70. Global Const PF12 = "@c"
  71. Global Const PF13 = "@d"
  72. Global Const PF14 = "@e"
  73. Global Const PF15 = "@f"
  74. Global Const PF16 = "@g"
  75. Global Const PF17 = "@h"
  76. Global Const PF18 = "@i"
  77. Global Const PF19 = "@j"
  78. Global Const PF20 = "@k"
  79. Global Const PF21 = "@l"
  80. Global Const PF22 = "@m"
  81. Global Const PF23 = "@n"
  82. Global Const PF24 = "@o"
  83. Global Const PA1 = "@x"
  84. Global Const PA2 = "@y"
  85. Global Const PA3 = "@z"
  86. Global Const AtSign = "@@"
  87.  
  88.  
  89.  
  90.